package com.libinyn.base.pms.mapper.sys;


import com.libinyn.base.pms.entity.sys.SysMenuEntity;
import com.libinyn.base.pms.mapper.MyMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;



/**
 * 菜单管理
 * @fileName: SysMenuMapper.java
 * @author: bin.li01
 * @date: 2017/12/13 22:03 
 * @version: v1.0.0
 */
@Mapper
public interface SysMenuMapper extends MyMapper<SysMenuEntity> {


	/**
	 * 获取不包含按钮的菜单列表
	 * @return
	 */
	List<SysMenuEntity> queryNotButtonList();

	/**
	 * 批量删除
	 * @param id
	 * @return
	 */
	int deleteBatch(Object[] id);

	/**
	 * 查询用户的权限列表
	 * @param userId
	 * @return
	 */
	List<SysMenuEntity> queryUserList(Long userId);
}
